import { axios } from "../../../utils/request";

const api = {
    pageList: "/crm/callBaseSettingInfo/pageList",          //分页查询 套餐
    getByCompany: "/crm/callBaseSettingInfo/getByCompany",  //查询租户当前套餐信息
};


/**
 * 分页查询套餐
 */
export function pageList(data) {
    return axios({
      url: api.pageList,
      method: "post",
      data: data
    });
}
/**
 * 查询租户当前套餐信息
 * @param {*} parameter 
 * @returns 
 */
export function getByCompany(parameter) {
    return axios({
      url: api.getByCompany,
      method: "get",
      params: parameter
    });
  }

